/*
 * To change this template, choose Tools | Templates and open the template in
 * the editor.
 */
package Tools;

import LogParser.CommandsHistory;
import org.apache.log4j.Logger;

/**
 *
 * @author Иван
 */
public class TController {

    private static Logger logger = Logger.getLogger(TController.class);

    public static void main(String[] args) {
        logger.info("start cmd");

        CMDThread cmd = null;

        try {
            cmd = new CMDThread(new CommandsHistory("app.log"));
        } catch (Exception e) {
        }


        try {
            cmd.t.join();
        } catch (InterruptedException e) {
            logger.error("error of close of thread!", e);
        }

    }
}
